<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    {{ msg }}
    {{1+2+3*5/4}}
    {{ 1>2?'真的':'假的' }}

    {{ parseInt(1.4456) }}
    {{ alert(1) }}
  </div>
  <script src="./vue.global.js"></script>
  <script>
    const msg = '这是全局变量';
    const { createApp } = Vue;
    // 创建应用程序实例 

    const app = createApp({

      data(){
        return {
        
        }
      },
     
    })
    app.mount('#app')

  
  </script>
</body>
</html>